home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / WINFONTS / FNTPRN.ZIP / FNTPRN.DOC next >
Text File  |  1993-03-16  |  18KB  |  315 lines

  1. FNTPRN.EXE (VERSION 1.0)               Copyright (c) 1993 John Deurbrouck
  2. -------------------------------------------------------------------------
  3.                 First Published in PC Magazine April 13, 1993 (Utilities)
  4. -------------------------------------------------------------------------
  5.  
  6. FNTPRN:
  7.                 FNTPRN lets you easily view multiple fonts and then
  8. generate your own font catalog for handy reference.
  9.  
  10.      Finding the font you want can be frustrating. Remembering the
  11. difference between Times New Roman and Arial may be easy, but what does
  12. Bembo look like? Does Gatineau have an attractive, true italic?  And
  13. which font is the one that looks like the type that appears on an Old
  14. West Wanted poster?
  15.  
  16.       Font selection dialog boxes--for example, the one that pops up
  17. when you select CharacterFonts in Windows Write--show you fonts, but only
  18. one at a time.  That gives you some nice confirmation of what you already
  19. know, but it's too slow and cumbersome if you need to search for or browse
  20. among more than a few fonts. FNTPRN gives you a way to view multiple fonts.
  21.  
  22.       To compile the source code, you'll need Borland's C++ 3.1 or
  23. Microsoft's C/C++ 7.0.  FNTPRN requires Version 3.1 of Windows because it
  24. employs programming features found only in this release.  The utility works
  25. with all of Windows' native fonts as well as any Microsoft TrueType and
  26. Adobe ATM fonts.
  27.  
  28.  ABOUT FACES
  29.  
  30.       A typeface (in Windows--typographers employ a stricter definition)
  31. is the name given to the design of a set of characters.  Individual
  32. variations of a typeface--known as fonts--are described by three parameters:
  33. point size, weight, and degree of slant.  The first, point size, measured
  34. in a unit called the point (1/72 of an inch), gives the vertical distance
  35. of an imaginary rectangle that surrounds each character of a font.  Be
  36. careful to distinguish between this and height, as it is used to describe
  37. the distance from the bottom of a font's descenders (the tail in a lowercase
  38. y, for instance) to the top of its ascenders (the uppermost point on a
  39. lowercase f, for example).  Height can--at a maximum--match the point
  40. size but rarely does, since a character seldom occupies the entire
  41. vertical dimension of its invisible box.
  42.  
  43.      The other two factors that separate fonts from one another are
  44. weight (bold, for instance) and degree of slant (italic, none, or
  45. oblique).  (The combination of weight and slant is known as the font's
  46. style--bold-italic is one example, bold by itself is another.)  Thus
  47. Arial (the TrueType Helvetica clone) is a single typeface and the
  48. following describes four of its fonts:  8-point Arial, 10-point Arial,
  49. 8-point Arial italic, and 8-point Arial bold.
  50.  
  51.    Windows assigns typefaces--based on their general appearance--to one
  52. of five groups called families.  Typefaces suggestive of cursive writing
  53. fall into the Script family, while those with ornate designs are
  54. classified as Decorative.  Of the remainder, most with constant-thickness
  55. strokes (the lines composing each character) are considered Modern
  56. (Courier, for one), while those with variable strokes land in the Roman
  57. family if they contain serifs (short, decorative strokes such as those
  58. hanging off the top of this T) or the Swiss category if they are sans
  59. serif (such as Arial or Helvetica). Fixed-pitch or monospaced fonts use
  60. the same amount of space for every character, while variable-pitch or
  61. proportional fonts use more space for larger characters. Monospaced fonts
  62. line up nicely into columns, while proportional fonts are more compact
  63. and easier to read. Finally, Windows actually contains a sixth font
  64. family known as Dontcare (labeled as Other in FNTPRN's Option window),
  65. which lets a program select a font without regard to the family.
  66.  
  67.      There are several technologies used to create fonts in Windows, but
  68. all fall into one of two general categories: bitmapped and vector.
  69. A bitmapped font is essentially a dot-by-dot description of every
  70. character. They're fast, but they don't scale (change size) well--printing
  71. an 8-point bitmapped font at 24 points yields a chunky, unattractive
  72. result. Vector fonts include stroke fonts, ATM, and TrueType. Instead of
  73. being a collection of dots, vector fonts are descriptions of each
  74. character: a line here, a curve there. Thus vector fonts scale well and
  75. look good at any size. Stroke  fonts are an older technology, included
  76. mainly for printing on plotters. ATM (Adobe Type Manager) fonts are
  77. designed to work at any point size on both the screen and any Windows
  78. printer. ATM fonts can be particularly fast with PostScript printers.
  79. TrueType fonts were introduced to Windows in Version 3.1 and offer
  80. scalability like ATM fonts.
  81.  
  82. INSTALLING  AND  DELETING  FNTPRN
  83.  
  84.      The utility demands no special effort to install.  To place its icon
  85. in the currently selected program group, use the Program Manager
  86. command File|New, choose Program Item from the dialog box, and  after
  87. clicking OK, fill in the blanks in the Program Item Properties dialog
  88. that comes up, then choose OK once more.
  89.  
  90.      Removing FNTPRN takes as little effort.  Dispose of its icon by
  91. selecting it and choosing File|Delete from the Program Manager menu.
  92. Repeat the procedure for all occurrences of the icon, then erase
  93. FNTPRN.EXE.  The program makes no modifications to WIN.INI, and the
  94. only files it creates are .WRI files containing font examples.
  95.  
  96. USING  FNTPRN
  97.  
  98.      If you're in a hurry, you can use FNTPRN without installing it
  99. simply by selecting File|Run from the Program Manager menu and entering
  100. the utility's full pathname in the resulting dialog box, which brings up
  101. the FNTPRN window.  Set the options you want, make sure that the Launch
  102. Write check box in the lower-left corner is checked (if it isn't, click
  103. on it), then click the OK button.  You'll be presented with a standard
  104. Save As dialog box (but with a title bar that reads ``Choose Output
  105. Filename'').  After you pick an output filename, select OK again.
  106. FNTPRN will generate and save a sample file based on the options you
  107. selected, then display it in Windows Write.  (If you don't make any
  108. changes and then click on OK, a file named FNTPRN.WRI will be saved to
  109. the directory that contains FNTPRN.)  FNTPRN is still running, so you
  110. can switch to it while Write is still running or after you're done,
  111. where you can design another report or quit the utility.  That's the
  112. quick start. Now for a few details.
  113.  
  114.      Running FNTPRN takes you right to the heart of the program--its
  115. option window. Most items on this screen fall into one of three option
  116. groups--Fonts, Sample Text, and Description Formatting.
  117.  
  118.      The Fonts section allows you to configure the report file FNTPRN
  119. produces. Sort Order (covered in greater detail shortly) is a drop-down
  120. list used to determine the sequence of samples in the output, while the
  121. Pitch radio buttons let you include proportional fonts, monospace, or
  122. both, and the Device selection determines whether the file will contain
  123. printer or screen fonts.  The output will incorporate whatever selections
  124. you make under the Font Families and Styles categories, but you must
  125. select at least one of each.  If you check the check box labeled Allow
  126. Bold/Italic Synthesis, and  if a particular typeface lacks any or all of
  127. the styles (italic, bold, or bold-italic), FNTPRN will request that
  128. Windows artificially create those you've included.  (Some limits, which
  129. I'll describe a little later, exist.)  Check the TrueType Only checkbox
  130. to restrict the report's contents to just those fonts. You may want to
  131. do this to exclude clunky, nonscalable fonts (such as  LinePrinter) from
  132. your report. Don't check the box, though, if you use ATM fonts.  Let your
  133. font collection be your guide!
  134.  
  135.      If you make no changes in the Font section's options, they default
  136. to alphabetical sort order, both spacing types, printer fonts, all styles
  137. and families, bold/italic synthesis, and any make of font (rather than
  138. TrueType alone).
  139.  
  140.    As implied above, Sort Order presents you with several choices.  The
  141. first--Alphabetical-